<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title>选择认证版本</title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/bootstrap.min.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/bootstrap-theme.min.css" />
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/user.css" />
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/fonts/font-awesome.min.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/ui-box.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/ui-base.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/ui-color.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/appcan.icon.css">
        <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/css/appcan.control.css">
    </head>
    <body class="um-vp " ontouchstart>
        <div id="page_0" class="up ub ub-ver bc-bg" tabindex="0">
            <!--header开始-->
            <div id="header" class="uh bc-text-head ub bc-head">
                <div class="nav-btn" id="nav-left"  onclick="location.href='${pageContext.request.contextPath}/consumer/customer/index'">
                    <div class="fa fa-angle-left fa-2x"></div>
                </div>
                
                <h1 class="ut ub-f1 ulev-3 ut-s tx-c" tabindex="0">请选择认证版本</h1>
                <div class="nav-btn nav-bt" id="nav-right"></div>
            </div>
            
            <!--header结束--><!--content开始-->
            <div id="content" class="ub-f1 tx-l">
            	<img class="imgg" src="${pageContext.request.contextPath}/resources/image/tou.png" alt="" >
                 <div class="box1">
                 	<div class="text-center">
	                	<span style="color: red;" id="tishi">${tishi}</span>
	                </div>
                     <div class="card-header">
                        <div class="radio">
                          <div class="radiotw">
                          <label class="ratwo">
                            <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>    个人普通版
                          </label>
                          <label class="rastri">500-2000元</label>
                          </div>
                          <div class="radiotw">
                          <label class="ratwo">
                            <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">    行驶证版
                          </label>
                          <label class="rastri">1000-3000元</label>
                          </div>
                        </div>
                    </div>
                     <div class="text-center logous">
                         <button type="button" class="btn btn-default butwid" onclick="fo()">确认</button>
                     </div>
                 </div>
            </div>
            <!--content结束-->

        </div>
    </body>
    <script>
		function fo(){
			var checkbox1 = document.getElementById("optionsRadios1");
			var checkbox2 = document.getElementById("optionsRadios2");
			if(checkbox1.checked){
				window.location.href='${pageContext.request.contextPath}/consumer/customer/idcard';
			}else if(checkbox2.checked){
				window.location.href='${pageContext.request.contextPath}/consumer/customer/driving';
			}else{
				alert("发生错误！！");
			}
		}
		
    </script>
</html>